.class Lcom/estrongs/fs/impl/local/j$b;
.super Ljava/lang/Object;
.source "NativeExecuter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/fs/impl/local/j;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "b"
.end annotation


# instance fields
.field public a:Ljava/lang/Object;

.field public b:Ljava/lang/Object;

.field public c:Ljava/lang/Object;

.field public d:Ljava/lang/Object;

.field public e:Ljava/lang/Object;

.field public f:Ljava/lang/Object;

.field private g:Ljava/lang/Object;


# direct methods
.method constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/fs/impl/local/j$b;->g:Ljava/lang/Object;

    return-void
.end method

.method private a(Ljava/lang/String;IIIII)Ljava/lang/String;
    .locals 2

    const-string v0, " "

    const-string v1, "\\s+"

    .line 18
    invoke-virtual {p1, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    const/4 v1, 0x0

    .line 19
    :try_start_0
    aget-object p4, p1, p4

    invoke-static {p4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p4

    if-ne p4, p6, :cond_1

    const/4 p4, -0x1

    if-ne p5, p4, :cond_0

    const-string p4, "0"

    goto :goto_0

    .line 20
    :cond_0
    aget-object p4, p1, p5

    .line 21
    :goto_0
    new-instance p5, Ljava/lang/StringBuilder;

    invoke-direct {p5}, Ljava/lang/StringBuilder;-><init>()V

    aget-object p3, p1, p3

    invoke-virtual {p5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p5, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object p1, p1, p2

    invoke-virtual {p5, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_1
    return-object v1
.end method

.method private a(Ljava/lang/String;IIII[Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    const-string p4, " "

    const-string v0, "\\s+"

    .line 11
    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    .line 12
    :try_start_0
    aget-object v1, p1, p2

    if-nez v1, :cond_0

    return-object v0

    :cond_0
    const/4 v1, 0x0

    .line 13
    :goto_0
    array-length v2, p6

    if-ge v1, v2, :cond_4

    .line 14
    aget-object v2, p1, p2

    aget-object v3, p6, v1

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    aget-object v2, p1, p2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v4, p6, v1

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 15
    invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    goto :goto_1

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_2
    :goto_1
    const/4 p6, -0x1

    if-ne p5, p6, :cond_3

    const-string p5, "0"

    goto :goto_2

    .line 16
    :cond_3
    aget-object p5, p1, p5

    .line 17
    :goto_2
    new-instance p6, Ljava/lang/StringBuilder;

    invoke-direct {p6}, Ljava/lang/StringBuilder;-><init>()V

    aget-object p3, p1, p3

    invoke-virtual {p6, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p6, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p6, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p6, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object p1, p1, p2

    invoke-virtual {p6, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_4
    return-object v0
.end method

.method static synthetic a(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/String;
    .locals 0

    .line 1
    invoke-static {p0, p1}, Lcom/estrongs/fs/impl/local/j$b;->b(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private static b(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/String;
    .locals 9

    const-string v0, "\\s+"

    .line 4
    invoke-virtual {p0, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    const/4 v2, 0x1

    .line 5
    :goto_0
    array-length v3, v0

    const/4 v4, 0x0

    const-string v5, "/"

    const/4 v6, 0x0

    const-string v7, " "

    if-ge v2, v3, :cond_2

    .line 6
    aget-object v3, v0, v2

    invoke-virtual {v3, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 7
    aget-object v3, v0, v2

    invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 8
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "/ "

    invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v8, v0, v6

    invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_1

    .line 9
    :cond_0
    aget-object v3, v0, v2

    const-string v8, "/system"

    invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 10
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "/system "

    invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v8, v0, v6

    invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_1

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    move-object v3, v4

    :goto_1
    if-eqz p1, :cond_5

    .line 11
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-nez p1, :cond_3

    goto :goto_3

    :cond_3
    if-nez v3, :cond_8

    .line 12
    :goto_2
    array-length p1, v0

    if-ge v1, p1, :cond_7

    .line 13
    aget-object p1, v0, v1

    invoke-virtual {p1, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_4

    .line 14
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    aget-object v2, v0, v1

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v2, v0, v6

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto/16 :goto_5

    :cond_4
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_5
    :goto_3
    if-nez v3, :cond_8

    .line 15
    aget-object p1, v0, v6

    const-string v8, "/dev/block"

    invoke-virtual {p1, v8}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_8

    .line 16
    :goto_4
    array-length p1, v0

    if-ge v1, p1, :cond_7

    .line 17
    aget-object p1, v0, v1

    invoke-virtual {p1, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/cache"

    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/pds"

    .line 18
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/modem/nvm1"

    .line 19
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/firmware"

    .line 20
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/efs"

    .line 21
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    .line 22
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    const-string v2, "/storage/extsdcard"

    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/persist"

    .line 23
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/storage_int"

    .line 24
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/data"

    .line 25
    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/devlog"

    .line 26
    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/sdcard"

    .line 27
    invoke-virtual {p1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/mnt/secure"

    .line 28
    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_6

    aget-object p1, v0, v1

    const-string v2, "/mnt/asec"

    .line 29
    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_6

    .line 30
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    aget-object v2, v0, v1

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v2, v0, v6

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_5

    :cond_6
    add-int/lit8 v1, v1, 0x1

    goto/16 :goto_4

    :cond_7
    :goto_5
    move v2, v1

    :cond_8
    if-nez v3, :cond_9

    return-object v4

    .line 31
    :cond_9
    aget-object p1, v0, v2

    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    .line 32
    aget-object v0, v0, v2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    add-int/2addr p1, v0

    invoke-virtual {p0, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p0

    const-string p1, " ro "

    .line 33
    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-gez p1, :cond_d

    const-string p1, "ro,"

    .line 34
    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-gez p1, :cond_d

    const-string p1, "ro)"

    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-ltz p1, :cond_a

    goto :goto_7

    :cond_a
    const-string p1, " rw "

    .line 35
    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-gez p1, :cond_c

    const-string p1, "rw,"

    .line 36
    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-gez p1, :cond_c

    const-string p1, "rw)"

    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    if-ltz p0, :cond_b

    goto :goto_6

    :cond_b
    return-object v4

    .line 37
    :cond_c
    :goto_6
    new-instance p0, Ljava/lang/StringBuilder;

    invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "rw"

    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    goto :goto_8

    .line 38
    :cond_d
    :goto_7
    new-instance p0, Ljava/lang/StringBuilder;

    invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "ro"

    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    :goto_8
    return-object p0
.end method

.method private d()Ljava/lang/Object;
    .locals 23
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/InterruptedException;
        }
    .end annotation

    move-object/from16 v8, p0

    const/4 v0, 0x1

    .line 1
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    iput-object v1, v8, Lcom/estrongs/fs/impl/local/j$b;->e:Ljava/lang/Object;

    .line 2
    iget-object v1, v8, Lcom/estrongs/fs/impl/local/j$b;->a:Ljava/lang/Object;

    check-cast v1, Lcom/estrongs/fs/impl/local/j$e;

    .line 3
    iget-object v2, v1, Lcom/estrongs/fs/impl/local/j$e;->b:Ljava/io/BufferedWriter;

    .line 4
    iget-object v9, v1, Lcom/estrongs/fs/impl/local/j$e;->c:Ljava/io/BufferedReader;

    .line 5
    iget-object v1, v8, Lcom/estrongs/fs/impl/local/j$b;->b:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    .line 6
    iget-object v3, v8, Lcom/estrongs/fs/impl/local/j$b;->c:Ljava/lang/Object;

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v10

    .line 7
    :try_start_0
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\n"

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/io/BufferedWriter;->write(Ljava/lang/String;)V

    .line 8
    invoke-virtual {v2}, Ljava/io/BufferedWriter;->flush()V

    const-string v1, "echo \n"

    .line 9
    invoke-virtual {v2, v1}, Ljava/io/BufferedWriter;->write(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v2}, Ljava/io/BufferedWriter;->flush()V

    const-string v1, "echo \'$-----ESTOOL-END-----$\'\n"

    .line 11
    invoke-virtual {v2, v1}, Ljava/io/BufferedWriter;->write(Ljava/lang/String;)V

    .line 12
    invoke-virtual {v2}, Ljava/io/BufferedWriter;->flush()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_4

    const/16 v13, 0xe

    const/16 v14, 0xf

    if-ne v10, v14, :cond_0

    .line 13
    iget-object v1, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    check-cast v1, [Ljava/lang/String;

    move-object v15, v1

    goto :goto_0

    :cond_0
    if-ne v10, v13, :cond_1

    .line 14
    iget-object v1, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    move/from16 v16, v1

    const/4 v15, 0x0

    goto :goto_1

    :cond_1
    const/4 v15, 0x0

    :goto_0
    const/16 v16, 0x0

    :goto_1
    const/16 v1, 0x10

    const/4 v7, -0x1

    if-eq v10, v1, :cond_3

    const/16 v1, 0x11

    if-ne v10, v1, :cond_2

    goto :goto_2

    :cond_2
    const/4 v1, 0x1

    goto :goto_3

    :cond_3
    :goto_2
    const/4 v1, 0x0

    :goto_3
    const/4 v2, 0x0

    const/4 v3, -0x1

    const/4 v4, -0x1

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/16 v17, -0x1

    const/16 v18, -0x1

    .line 15
    :goto_4
    :try_start_1
    invoke-virtual {v9}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;

    move-result-object v19

    if-eqz v19, :cond_21

    .line 16
    invoke-virtual/range {v19 .. v19}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v12

    if-eqz v12, :cond_20

    .line 17
    invoke-virtual {v12}, Ljava/lang/String;->length()I

    move-result v19

    if-nez v19, :cond_4

    goto/16 :goto_15

    .line 18
    :cond_4
    invoke-static {v12}, Lcom/estrongs/fs/impl/local/j;->j(Ljava/lang/String;)Z

    move-result v19
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_3
    .catchall {:try_start_1 .. :try_end_1} :catchall_2

    if-eqz v19, :cond_5

    goto/16 :goto_18

    :cond_5
    const/4 v11, 0x4

    if-eq v10, v11, :cond_1e

    const/4 v11, 0x5

    const-string v13, " "

    if-eq v10, v11, :cond_1b

    const/4 v11, 0x6

    if-eq v10, v11, :cond_1a

    packed-switch v10, :pswitch_data_0

    :cond_6
    :goto_5
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    goto/16 :goto_14

    .line 19
    :pswitch_0
    :try_start_2
    iput-object v12, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    goto :goto_5

    .line 20
    :pswitch_1
    invoke-virtual {v12}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v11

    const-string v12, "success"

    invoke-virtual {v11, v12}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v11
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_3
    .catchall {:try_start_2 .. :try_end_2} :catchall_2

    if-eqz v11, :cond_6

    const/4 v0, -0x1

    :goto_6
    const/4 v1, 0x1

    goto/16 :goto_17

    :pswitch_2
    const-string v11, "\\s+"

    if-nez v5, :cond_d

    .line 21
    :try_start_3
    invoke-virtual {v12, v11}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    const/4 v11, 0x0

    .line 22
    :goto_7
    array-length v12, v1

    if-ge v11, v12, :cond_c

    .line 23
    aget-object v12, v1, v11

    const-string v13, "user"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-nez v12, :cond_9

    aget-object v12, v1, v11

    const-string v13, "uid"

    .line 24
    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_7

    goto :goto_8

    .line 25
    :cond_7
    aget-object v12, v1, v11

    const-string v13, "ppid"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_8

    move v12, v11

    goto :goto_9

    .line 26
    :cond_8
    aget-object v12, v1, v11

    const-string v13, "pid"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_a

    move v13, v11

    move/from16 v12, v17

    goto :goto_a

    :cond_9
    :goto_8
    move v3, v11

    :cond_a
    move/from16 v12, v17

    :goto_9
    move/from16 v13, v18

    :goto_a
    if-eq v3, v7, :cond_b

    if-eq v12, v7, :cond_b

    if-eq v13, v7, :cond_b

    move/from16 v17, v12

    move/from16 v18, v13

    goto :goto_b

    :cond_b
    add-int/lit8 v11, v11, 0x1

    move/from16 v17, v12

    move/from16 v18, v13

    goto :goto_7

    :cond_c
    :goto_b
    add-int/lit8 v5, v5, 0x1

    const/4 v0, -0x1

    goto/16 :goto_13

    :cond_d
    if-ne v5, v0, :cond_e

    .line 27
    invoke-virtual {v12, v11}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    .line 28
    array-length v4, v4
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_2

    sub-int/2addr v4, v0

    add-int/lit8 v5, v5, 0x1

    const/4 v0, -0x1

    goto/16 :goto_17

    :cond_e
    if-eq v4, v7, :cond_17

    if-ne v3, v7, :cond_f

    goto/16 :goto_f

    :cond_f
    if-ne v10, v14, :cond_10

    move-object/from16 v1, p0

    move-object v11, v2

    move-object v2, v12

    move/from16 v20, v3

    move v3, v4

    move/from16 v21, v4

    move/from16 v4, v20

    move/from16 v22, v5

    move/from16 v5, v17

    move-object v12, v6

    move/from16 v6, v18

    const/4 v0, -0x1

    move-object v7, v15

    .line 29
    :try_start_4
    invoke-direct/range {v1 .. v7}, Lcom/estrongs/fs/impl/local/j$b;->a(Ljava/lang/String;IIII[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_1
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    goto :goto_c

    :cond_10
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v7, v6

    const/4 v0, -0x1

    const/16 v1, 0xe

    if-ne v10, v1, :cond_14

    move/from16 v6, v17

    if-ne v6, v0, :cond_13

    const/4 v2, 0x0

    .line 30
    :try_start_5
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_0
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    if-eq v10, v14, :cond_11

    if-ne v10, v1, :cond_12

    .line 31
    :cond_11
    iput-object v7, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    :cond_12
    return-object v0

    :catchall_0
    move-exception v0

    move-object v2, v7

    goto/16 :goto_1a

    :catch_0
    move-exception v0

    move-object v2, v7

    goto/16 :goto_19

    :cond_13
    move-object/from16 v1, p0

    move-object v2, v12

    move/from16 v3, v21

    move/from16 v4, v20

    move v5, v6

    move/from16 v17, v6

    move/from16 v6, v18

    move-object v12, v7

    move/from16 v7, v16

    .line 32
    :try_start_6
    invoke-direct/range {v1 .. v7}, Lcom/estrongs/fs/impl/local/j$b;->a(Ljava/lang/String;IIIII)Ljava/lang/String;

    move-result-object v1

    goto :goto_c

    :cond_14
    move-object v12, v7

    const/4 v1, 0x0

    :goto_c
    if-eqz v1, :cond_16

    if-nez v12, :cond_15

    :goto_d
    move-object v6, v1

    move-object v2, v11

    goto :goto_e

    .line 33
    :cond_15
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_d

    :cond_16
    move-object v2, v11

    move-object v6, v12

    :goto_e
    move/from16 v3, v20

    move/from16 v4, v21

    move/from16 v5, v22

    goto/16 :goto_6

    :cond_17
    :goto_f
    move-object v12, v6

    const/4 v1, 0x0

    .line 34
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0
    :try_end_6
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_1
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    if-eq v10, v14, :cond_18

    const/16 v1, 0xe

    if-ne v10, v1, :cond_19

    .line 35
    :cond_18
    iput-object v12, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    :cond_19
    return-object v0

    :catchall_1
    move-exception v0

    move-object v2, v12

    goto/16 :goto_1a

    :catch_1
    move-exception v0

    move-object v2, v12

    goto/16 :goto_19

    :pswitch_3
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    .line 36
    :try_start_7
    invoke-virtual {v12}, Ljava/lang/String;->length()I

    move-result v3

    const/4 v4, 0x2

    if-le v3, v4, :cond_1f

    goto :goto_12

    :cond_1a
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    const/4 v4, 0x2

    .line 37
    invoke-virtual {v12}, Ljava/lang/String;->length()I

    move-result v3

    if-le v3, v4, :cond_1f

    goto :goto_12

    :cond_1b
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    .line 38
    iget-object v3, v8, Lcom/estrongs/fs/impl/local/j$b;->f:Ljava/lang/Object;

    instance-of v3, v3, Ljava/lang/Boolean;

    if-eqz v3, :cond_1c

    .line 39
    iget-object v3, v8, Lcom/estrongs/fs/impl/local/j$b;->f:Ljava/lang/Object;

    check-cast v3, Ljava/lang/Boolean;

    goto :goto_10

    :cond_1c
    const/4 v3, 0x0

    .line 40
    :goto_10
    invoke-static {v12, v3}, Lcom/estrongs/fs/impl/local/j$b;->b(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_1f

    if-nez v11, :cond_1d

    goto :goto_11

    .line 41
    :cond_1d
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 42
    :goto_11
    iput-object v3, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    move-object v6, v2

    move-object v2, v3

    goto :goto_16

    :cond_1e
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    .line 43
    invoke-virtual {v12}, Ljava/lang/String;->length()I

    move-result v3
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_7 .. :try_end_7} :catch_2
    .catchall {:try_start_7 .. :try_end_7} :catchall_3

    const/4 v4, 0x2

    if-le v3, v4, :cond_1f

    :goto_12
    move-object v6, v2

    move-object v2, v11

    move/from16 v3, v20

    move/from16 v4, v21

    move/from16 v5, v22

    :goto_13
    const/4 v1, 0x0

    goto :goto_17

    :cond_1f
    :goto_14
    move-object v6, v2

    move-object v2, v11

    goto :goto_16

    :catch_2
    move-exception v0

    goto :goto_19

    :cond_20
    :goto_15
    move-object v11, v2

    move/from16 v20, v3

    move/from16 v21, v4

    move/from16 v22, v5

    move-object v2, v6

    const/4 v0, -0x1

    move-object v6, v2

    move-object v2, v11

    :goto_16
    move/from16 v3, v20

    move/from16 v4, v21

    move/from16 v5, v22

    :goto_17
    const/4 v0, 0x1

    const/4 v7, -0x1

    const/16 v13, 0xe

    goto/16 :goto_4

    :cond_21
    :goto_18
    move-object v2, v6

    if-eq v10, v14, :cond_22

    const/16 v3, 0xe

    if-ne v10, v3, :cond_23

    .line 44
    :cond_22
    iput-object v2, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    .line 45
    :cond_23
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    return-object v0

    :catchall_2
    move-exception v0

    move-object v2, v6

    goto :goto_1a

    :catch_3
    move-exception v0

    move-object v2, v6

    .line 46
    :goto_19
    :try_start_8
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    const/4 v1, 0x0

    .line 47
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, v8, Lcom/estrongs/fs/impl/local/j$b;->e:Ljava/lang/Object;

    .line 48
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_3

    if-eq v10, v14, :cond_24

    const/16 v1, 0xe

    if-ne v10, v1, :cond_25

    .line 49
    :cond_24
    iput-object v2, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    :cond_25
    return-object v0

    :catchall_3
    move-exception v0

    :goto_1a
    if-eq v10, v14, :cond_26

    const/16 v1, 0xe

    if-ne v10, v1, :cond_27

    :cond_26
    iput-object v2, v8, Lcom/estrongs/fs/impl/local/j$b;->d:Ljava/lang/Object;

    .line 50
    :cond_27
    throw v0

    :catch_4
    const/4 v1, 0x0

    .line 51
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, v8, Lcom/estrongs/fs/impl/local/j$b;->e:Ljava/lang/Object;

    .line 52
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    return-object v0

    nop

    :pswitch_data_0
    .packed-switch 0xd
        :pswitch_3
        :pswitch_2
        :pswitch_2
        :pswitch_1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method


# virtual methods
.method public a()Ljava/lang/Object;
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/impl/local/j$b;->a:Ljava/lang/Object;

    check-cast v0, Lcom/estrongs/fs/impl/local/j$e;

    if-eqz v0, :cond_1

    .line 3
    :try_start_0
    iget-boolean v1, v0, Lcom/estrongs/fs/impl/local/j$e;->d:Z

    if-eqz v1, :cond_0

    .line 4
    iget-object v1, v0, Lcom/estrongs/fs/impl/local/j$e;->b:Ljava/io/BufferedWriter;

    const-string v2, "exit\n"

    invoke-virtual {v1, v2}, Ljava/io/BufferedWriter;->write(Ljava/lang/String;)V

    .line 5
    iget-object v1, v0, Lcom/estrongs/fs/impl/local/j$e;->b:Ljava/io/BufferedWriter;

    invoke-virtual {v1}, Ljava/io/BufferedWriter;->flush()V

    .line 6
    :cond_0
    iget-object v1, v0, Lcom/estrongs/fs/impl/local/j$e;->c:Ljava/io/BufferedReader;

    invoke-virtual {v1}, Ljava/io/BufferedReader;->close()V

    .line 7
    iget-object v1, v0, Lcom/estrongs/fs/impl/local/j$e;->b:Ljava/io/BufferedWriter;

    invoke-virtual {v1}, Ljava/io/BufferedWriter;->close()V

    .line 8
    iget-object v0, v0, Lcom/estrongs/fs/impl/local/j$e;->a:Ljava/lang/Process;

    invoke-virtual {v0}, Ljava/lang/Process;->destroy()V

    const/4 v0, 0x1

    .line 9
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    :cond_1
    const/4 v0, 0x0

    .line 10
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    return-object v0
.end method

.method public b()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    :try_start_0
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/impl/local/j$b;->g:Ljava/lang/Object;

    .line 2
    invoke-direct {p0}, Lcom/estrongs/fs/impl/local/j$b;->d()Ljava/lang/Object;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/impl/local/j$b;->g:Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 3
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    :goto_0
    return-void
.end method

.method public c()Ljava/lang/Object;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/local/j$b;->g:Ljava/lang/Object;

    return-object v0
.end method
